package com.itrh.auth.mapper;

import com.itrh.auth.domain.RolePermission;
import com.itrh.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author XHU_WHY
 * @since 2024-04-07
 */
@Mapper
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    void deleteByRoleId(Long id);

    void saveBatch(List<RolePermission> list);

    List<Long> selectByRoleId(Long id);
}
